package com.adv.ems.manager;

import com.adv.ems.db.entity.CircuitDiagramNodeEnergySubjectRelationDO;
import com.adv.ems.enums.SubjectTypeEnum;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface CircuitDiagramNodeEnergySubjectRelationManager {

    Map<Long, CircuitDiagramNodeEnergySubjectRelationDO> getAllMap();
    List<Long> getDiagramNodeIds(Collection<Long> subjectIds, SubjectTypeEnum type);

    void saveData(CircuitDiagramNodeEnergySubjectRelationDO relation);

    void deleteById(Long id);
}
